package com.example.demo.service;

import java.util.Random;
import java.util.concurrent.TimeUnit;

import lombok.extern.slf4j.Slf4j;
@Slf4j
public class TestServiceImpl implements TestService{
	
	private Random ramdom = new Random();		
	private int bound = 5;

	public void getxxx() {
		log.info("进来了");
		try {
			TimeUnit.SECONDS.sleep(ramdom.nextInt(bound));
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		
	}
	
	
	
}
